﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace DTO.Reports
{
    [DataContract]
    public class VolumsRow
    {
        [DataMember] 
        public Section Sec { get; set; }

        [DataMember] 
        public Characteristic Char { get; set; }

        private List<Gradation> _gradations;

        [DataMember] 
        public List<Gradation> Gradations { get
        {
            return _gradations;
        } 
            set {
                _gradations = value;
            }
        }

        [DataMember]
        public Category Cat { get; set; }

        [DataMember]
        public double Max { get; set; }

        [DataMember]
        public string Unit { get; set; }

        [DataMember]
        public string ImagePath { get; set; }

        private List<VolumePPS> volumsPPS = new List<VolumePPS>();

        [DataMember]
        public List<VolumePPS> Volums
        {
            get
            {
                return volumsPPS;
            }
            set
            {
                volumsPPS = value;
            }
        }

    }
}
